import 'babel-polyfill'
import promise from 'es6-promise' // 兼容 Promise
import Vue from 'vue'
import App from './App.vue'
import store from '../../store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

promise.polyfill()

Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  store,
  render: function (h) {
    return h(App)
  }
}).$mount('#app')
